PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPCreateEvent

Creates an event group.

OSStatus MPCreateEvent (MPEventID *event);
event
A pointer to a variable of type MPEventID . On return, the variable contains the ID of the newly created event group.
function result
A result code. See Result Codes for a list of possible values.
DISCUSSION

Event groups are created from dynamically allocated internal resources. Other tasks may be competing for these resources so it is possible that this function will not be able to create an event group.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

SEE ALSO

The function MPDeleteEvent .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)